Class PlantRegistryImpl

java.lang.Object
jeresources.compatibility.PlantRegistryImpl
All Implemented Interfaces:
IPlantRegistry

public class PlantRegistryImpl extends Object implements IPlantRegistry
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static void
     
    void
    register(net.minecraft.world.item.ItemStack itemStack, PlantDrop... drops)
     
    void
    register(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.block.state.BlockState plantState, PlantDrop... drops)
     
    void
    register(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.block.state.BlockState plantState, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, PlantDrop... drops)
     
    void
    register(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, PlantDrop... drops)
     
    void
    register(net.minecraft.world.item.ItemStack itemStack, net.minecraftforge.common.IPlantable plant, PlantDrop... drops)
     
    void
    register(net.minecraft.world.item.ItemStack itemStack, net.minecraftforge.common.IPlantable plant, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, PlantDrop... drops)
     
    <T extends net.minecraft.world.level.block.Block & net.minecraftforge.common.IPlantable>
    void
    register(T plant, PlantDrop... drops)
     
    <T extends net.minecraft.world.level.block.Block & net.minecraftforge.common.IPlantable>
    void
    register(T plant, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, PlantDrop... drops)
     
    void
    registerDrops(net.minecraft.world.item.ItemStack itemStack, PlantDrop... drops)
     
    void
    registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
     
    void
    registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState plantState, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
     
    void
    registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState plantState, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
     
    void
    registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
     
    void
    registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraftforge.common.IPlantable plant, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
     
    void
    registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraftforge.common.IPlantable plant, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
     
    <T extends net.minecraft.world.level.block.Block & net.minecraftforge.common.IPlantable>
    void
    registerWithSoil(T plant, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
     
    <T extends net.minecraft.world.level.block.Block & net.minecraftforge.common.IPlantable>
    void
    registerWithSoil(T plant, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlantRegistryImpl

      protected PlantRegistryImpl()
  • Method Details

    • register

      public void register(net.minecraft.world.item.ItemStack itemStack, net.minecraftforge.common.IPlantable plant, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, PlantDrop... drops)
      Specified by:
      register in interface IPlantRegistry
    • register

      public void register(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.block.state.BlockState plantState, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, PlantDrop... drops)
      Specified by:
      register in interface IPlantRegistry
    • register

      public void register(net.minecraft.world.item.ItemStack itemStack, net.minecraftforge.common.IPlantable plant, PlantDrop... drops)
      Specified by:
      register in interface IPlantRegistry
    • register

      public void register(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.block.state.BlockState plantState, PlantDrop... drops)
      Specified by:
      register in interface IPlantRegistry
    • register

      public void register(net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, PlantDrop... drops)
      Specified by:
      register in interface IPlantRegistry
    • register

      public void register(net.minecraft.world.item.ItemStack itemStack, PlantDrop... drops)
      Specified by:
      register in interface IPlantRegistry
    • register

      public <T extends net.minecraft.world.level.block.Block & net.minecraftforge.common.IPlantable> void register(T plant, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, PlantDrop... drops)
      Specified by:
      register in interface IPlantRegistry
    • register

      public <T extends net.minecraft.world.level.block.Block & net.minecraftforge.common.IPlantable> void register(T plant, PlantDrop... drops)
      Specified by:
      register in interface IPlantRegistry
    • registerWithSoil

      public void registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraftforge.common.IPlantable plant, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
      Specified by:
      registerWithSoil in interface IPlantRegistry
    • registerWithSoil

      public void registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState plantState, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
      Specified by:
      registerWithSoil in interface IPlantRegistry
    • registerWithSoil

      public void registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraftforge.common.IPlantable plant, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
      Specified by:
      registerWithSoil in interface IPlantRegistry
    • registerWithSoil

      public void registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState plantState, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
      Specified by:
      registerWithSoil in interface IPlantRegistry
    • registerWithSoil

      public void registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
      Specified by:
      registerWithSoil in interface IPlantRegistry
    • registerWithSoil

      public void registerWithSoil(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
      Specified by:
      registerWithSoil in interface IPlantRegistry
    • registerWithSoil

      public <T extends net.minecraft.world.level.block.Block & net.minecraftforge.common.IPlantable> void registerWithSoil(T plant, net.minecraft.world.level.block.state.properties.Property<?> ageProperty, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
      Specified by:
      registerWithSoil in interface IPlantRegistry
    • registerWithSoil

      public <T extends net.minecraft.world.level.block.Block & net.minecraftforge.common.IPlantable> void registerWithSoil(T plant, net.minecraft.world.level.block.state.BlockState soil, PlantDrop... drops)
      Specified by:
      registerWithSoil in interface IPlantRegistry
    • registerDrops

      public void registerDrops(@Nonnull net.minecraft.world.item.ItemStack itemStack, PlantDrop... drops)
      Specified by:
      registerDrops in interface IPlantRegistry
    • commit

      protected static void commit()